﻿using System;
using System.Collections.Generic;
using MyBatis.Data.Model;

namespace MyBatis.Data.Contract
{
	/// <summary>
	/// Customers服务
	/// </summary>
	public interface ICustomersService
	{
		#region 变量

		#endregion

		#region 属性

		#endregion

		#region 事件

		#endregion

		#region 构造函数

		#endregion

		#region 方法
		/// <summary>
		/// 获取Customers
		/// </summary>
		/// <param name="customerID">CustomerID</param>
		/// <returns>Customers</returns>
		Customers GetCustomers(string customerID);

		/// <summary>
		/// 获取Customers集合
		/// </summary>
		/// <param name="customersQp">Customers</param>
		/// <returns>Customers集合</returns>
		IList<Customers> GetCustomerss(CustomersQP customersQp);

		
		/// <summary>
		/// 获取指定查询条件下Customers集合记录数
		/// </summary>
		/// <param name="customersQp">Customers</param>
		/// <returns>Customers集合</returns>
		int GetCustomerssCount(CustomersQP customersQp);

		/// <summary>
		/// 移除Customers
		/// </summary>
		/// <param name="customerID">CustomerID</param>
		/// <returns>结果</returns>
		bool RemoveCustomers(string customerID);

		/// <summary>
		/// 有否Customers
		/// </summary>
		/// <param name="customerID">CustomerID</param>
		/// <returns>结果</returns>
		bool HasCustomers(string customerID);

		/// <summary>
		/// 插入Customers
		/// </summary>
		/// <param name="customersQp">Customers</param>
		/// <returns>结果</returns>
		int InsertCustomers(CustomersQP customersQp);
	
		/// <summary>
		/// 更新Customers
		/// </summary>
		/// <param name="customersQp">Customers</param>
		/// <returns>结果</returns>
		bool UpdateCustomers(CustomersQP customersQp);
		
		/// <summary>
		/// 移除Customers集合
		/// </summary>
		/// <param name="customerIDs">CustomerID集合</param>
		/// <returns>结果</returns>
		bool RemoveCustomerss(IList<string> customerIDs);

		#endregion
	}
}

